//
//  FuncFootCollectionReusableView.swift
//  DLuxTravel
//
//  Created by 陆涛 on 2018/11/21.
//  Copyright © 2018 imguider. All rights reserved.
//

import UIKit

class FuncFootCollectionReusableView: UICollectionReusableView {

    @IBOutlet weak var containerView: UIView!
    @IBOutlet weak var funBtn: UIButton!
    
    var funActioned:(()->Void)?
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        setupUI()
    }
    
    private func setupUI() {
        
        funBtn.layer.borderWidth = 1.0
        funBtn.layer.borderColor = kTopRedColor.cgColor
        funBtn.layer.cornerRadius = 4
        
        self.backgroundColor = kBgColor
        self.containerView.backgroundColor = kBgColor
    }
    
    
    @IBAction func funcAction(_ sender: Any) {
        
        funActioned?()
    }
    
}
